package com.itboye.hutouben.activity.message;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.itboye.hutouben.R;
import com.itboye.hutouben.base.BaseActivity;

/**
 * 消息
 */
public class MessageActivity extends BaseActivity{
    TextView add_shap_title_tv;
    ImageView close_icon;
    TextView mess_xitong,mess_weixiu;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_message);

        add_shap_title_tv.setText(getString(R.string.message));
    }

    @Override
    protected void onInit() {

    }

    @Override
    protected void onReadIntent(Bundle bundle) {

    }

    @Override
    public void onClick(View v) {
        Intent intent = null;
        switch (v.getId()) {
            case R.id.close_icon:
                finish();
                break;
            case R.id.mess_xitong:
                intent = new Intent(MessageActivity.this, SystemMessActivity.class);
                startActivity(intent);
                break;
            case R.id.mess_weixiu:
                intent = new Intent(MessageActivity.this, RepairMessActivity.class);
                startActivity(intent);
                break;

            default:
                break;
        }
    }
}
